home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / ABUSESRC.ZIP / AbuseSrc / abuse / net / nstruct.hpp < prev    next >
C/C++ Source or Header  |  1995-09-15  |  416b  |  23 lines

  1. #define MAX_PLAYERS        50
  2. #define PLAYER_INPUT_SIZE  10
  3.  
  4. enum { PLAYER_FREE,
  5.        PLAYER_CONNECTED,
  6.        PLAYER_DISCONNECTED } ;  // server shold set to PLAYER_FREE after netdriver sets to disconnect
  7.  
  8.  
  9. #define NET_FLAG_RUNNING      1
  10. #define NET_FLAG_LOCK_ENTRIES 2   
  11.  
  12. struct net_struct
  13. {
  14.   char server_flags;
  15.   char driver_flags;
  16.   unsigned char player_status[MAX_PLAYERS];
  17.  
  18.   
  19.  
  20. }
  21.  
  22.  
  23.